

.live_screen {
  position: absolute;
  top: 50px;
  left: 0;
  bottom: 0;
  z-index: 0;
  background-color: @baseBlack;
  &.showDm {
    right: 500px;
  }
  &.hideDm {
    right: 0;
  }
  .voice_status {
    width: 100%;
    height: 50px;
    position: absolute;
    top:0;
    left: 40px;
    right: 0;
    background-color: @baseBlack;
    z-index: 101;
    .wait_voice{
      height: 50px;
      line-height: 50px;
      position: relative;
      .left {
        position: absolute;
        top: 10px;
        left: 0;
        width: 30px;
        height: 30px;
        .inner {
          position: absolute;
          top: 50%;
          left: 50%;
          margin: 0;
          width: 0;
          height: 0;
          opacity: 0;
          border-radius: 50%;
          border-width: 1px;
          border-style: solid;
          animation: uil-ripple 2s ease-out infinite;
          border-color: #fff;
          &.delay1 {
            animation-delay: -1s;
          }
          &.delay2 {
            animation-delay: -2s;
          }
        }
      }
      .text{
        color: #fff;
        font-size: 15px;
        padding-left: 35px;
      }
      &.red {
        .left {
          .inner {
            border-color: @baseRed;
          }
        }
      }
    }
    .downloading {
      height: 50px;
      line-height: 50px;
      position: relative;
      .left {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: @baseRed;
        position: absolute;
        top: 20px;
        left: 0;
      }
      .text {
        padding-left: 20px;
        color: #fff;
        font-size: 15px;
      }
    }
    .playing {
      height: 50px;
      line-height: 50px;
      position: relative;
      .left {
        width: 25px;
        height: 18px;
        position: absolute;
        top: 12px;
        left: 0;
      }
      .text {
        padding-left: 35px;
        color: #fff;
        font-size: 15px;
      }
    }
  }
  .live_swiper {
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: @baseBlack;
    text-align: center;
    .live_swiper_item {
      max-width: 90%;
      height: 100%;
      margin: 0 auto;
      background-color: @baseBlack;
      background-size: contain;
      background-position: center;
      background-repeat: no-repeat;
      -webkit-animation: fadeIn .6s ease-in-out;
      animation: fadeIn .6s ease-in-out;
      &.loading {
        background-size: 300px 188px;
      }
      &.show {
        display: block;
      }
      &.hide {
        display: none;
      }
    }
  }
}
.live_video_mask {
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, .5);
  z-index: 100;
  .video {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 90%;
    max-height: 100%;
    display: block;
    top: 50%;
    left: 50%;
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-size: cover;
  }
}

.wait_teacher {
  position: absolute;
  top: 50px;
  left: 0;
  bottom: 0;
  z-index: 3;
  background-color: @baseBlack;
  &.showDm {
    right: 500px;
  }
  &.hideDm {
    right: 0;
  }
  .bg {
    max-width: 90%;
    height: 100%;
    margin: 0 auto;
    background-color: @baseBlack;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 4;
    position: relative;
  }
  .wait_word {
    color: #fff;
    font-size: 25px;
    text-align: center;
    position: absolute;
    width: 100%;
    top: 70px;
    z-index: 6;
  }
}
.bookshelf_wrapper{
  position: absolute;
  width:400px;
  top:150px;
  left:50%;
  z-index: 5;
  transform:translate(-50%, -50%);
  opacity: .5;
  .books_list{
    width: 100%;
    padding: 0;
    .book_item{
      position: absolute;
      box-sizing: border-box;
      width: 50px;
      opacity: 0;
      border:5px solid #fff;
      transform-origin: bottom left;
      animation: travel 2500ms linear infinite;
      &.first{
        height: 120px;
        top:-120px;
        .inner_top{
          width: 100%;
          height: 10px;
          top:20px;
          position: absolute;
          background-color: #fff;
        }
        .inner_bottom{
          width: 100%;
          height: 10px;
          bottom:20px;
          position: absolute;
          background-color: #fff;
        }
      }
      &.second{
        height: 130px;
        animation-delay: 500ms;
        top:-130px;
        .inner_top{
          width: 100%;
          height: 30px;
          top:20px;
          position: absolute;
          background-color: transparent;
          box-sizing: border-box;
          border-bottom: 10px solid #fff;
          border-top: 10px solid #fff;
        }
        .inner_bottom{
          width: 100%;
          height: 30px;
          bottom:20px;
          position: absolute;
          background-color: transparent;
          box-sizing: border-box;
          border-bottom: 10px solid #fff;
          border-top: 10px solid #fff;
        }
      }
      &.third{
        height: 140px;
        animation-delay: 1000ms;
        top:-140px;
        .inner_top{
          width: 5px;
          height: 5px;
          border:10px solid #fff;
          position: absolute;
          top:20px;
          right: 0;
          border-radius: 50%;
        }
        .inner_bottom{
          width: 5px;
          height: 5px;
          border:10px solid #fff;
          position: absolute;
          bottom:20px;
          right: 0;
          border-radius: 50%;
        }
      }
      &.fourth{
        height: 150px;
        animation-delay: 1500ms;
        top:-150px;
        .inner_top{
          width: 100%;
          height: 10px;
          bottom:70px;
          position: absolute;
          background-color: #fff;
        }
        .inner_bottom{
          width: 100%;
          height: 10px;
          bottom:50px;
          position: absolute;
          background-color: #fff;
        }
      }
      &.fifth{
        height: 160px;
        animation-delay: 2000ms;
        top:-160px;
        .inner_top{
          position: absolute;
          width: 0;
          height: 0;
          top:20px;
          right: 0;
          border-left: 10px solid transparent;
          border-right: 10px solid transparent;
          border-bottom: 15px solid #fff;
          transform:rotate(-90deg);
        }
        .inner_bottom{
          position: absolute;
          width: 0;
          height: 0;
          bottom:20px;
          right: 0;
          border-left: 10px solid transparent;
          border-right: 10px solid transparent;
          border-bottom: 15px solid #fff;
          transform:rotate(-90deg);
        }
      }
    }
  }
  .shelf{
    width: 100%;
    height: 10px;
    background-color: #fff;
    position: relative;
    margin: 0 auto;
    .li{
      position: absolute;
      width: 100%;
      height: 100%;
      background-image:radial-gradient(rgba(255, 255, 255, 0.5) 30%, rgba(0, 0, 0, 0) 0%) ;
      background-size: 10px 10px;
      background-position: 0 -2.5px;
      top: 45px;
      left: 5%;
      -webkit-animation: move 250ms linear infinite;
      animation: move 250ms linear infinite;
      &.next{
        top: 25px;
        left: 2%;
      }
    }
  }
}
@keyframes move {
  from {
    background-position-x: 0;
  }
  to {
    background-position-x: 10px;
  }
}
@keyframes travel {
  0% {
    opacity: 0;
    -webkit-transform: translateX(400px) rotateZ(0deg) scaleY(1);
    transform: translateX(400px) rotateZ(0deg) scaleY(1);
  }
  6.5% {
    -webkit-transform: translateX(374px) rotateZ(0deg) scaleY(1.1);
    transform: translateX(374px) rotateZ(0deg) scaleY(1.1);
  }
  8.8% {
    -webkit-transform: translateX(364px) rotateZ(0deg) scaleY(1);
    transform: translateX(364px) rotateZ(0deg) scaleY(1);
  }
  10% {
    opacity: 1;
    -webkit-transform: translateX(360px) rotateZ(0deg);
    transform: translateX(360px) rotateZ(0deg);
  }
  17.6% {
    -webkit-transform: translateX(329px) rotateZ(-30deg);
    transform: translateX(329px) rotateZ(-30deg);
  }
  45% {
    -webkit-transform: translateX(210px) rotateZ(-30deg);
    transform: translateX(210px) rotateZ(-30deg);
  }
  49.5% {
    -webkit-transform: translateX(200px) rotateZ(-45deg);
    transform: translateX(200px) rotateZ(-45deg);
  }
  61.5% {
    -webkit-transform: translateX(154px) rotateZ(-45deg);
    transform: translateX(154px) rotateZ(-45deg);
  }
  67% {
    -webkit-transform: translateX(132px) rotateZ(-60deg);
    transform: translateX(132px) rotateZ(-60deg);
  }
  76% {
    -webkit-transform: translateX(96px) rotateZ(-60deg);
    transform: translateX(96px) rotateZ(-60deg);
  }
  83.5% {
    opacity: 1;
    -webkit-transform: translateX(66px) rotateZ(-90deg);
    transform: translateX(66px) rotateZ(-90deg);
  }
  90% {
    opacity: 0;
  }
  100% {
    opacity: 0;
    -webkit-transform: translateX(0px) rotateZ(-90deg);
    transform: translateX(0px) rotateZ(-90deg);
  }
}
